package adv8;

public class Calc {
	@MyTest(before = "方法前")
	public int add(int a, int b) {
		return a + b;
	}

	@MyTest(before = "方法前", after = "执行后")
	public int takeawy(int a, int b) {
		return a - b;
	}

	// 只有value可以
	@MyZhujie2("sslsss")
	public int mul(int a, int b) {
		return a * b;
	}
	//多个值，必须value="xxx"
	@MyZhujie2(value = "xxxx", f = "sss")
	public int divide(int a, int b) {
		return a / b;
	}
}
